package org.kazao.sms;
public class KazaoOperator {
    public static final int ACCESS_UNKNOWN = 0;
    public static final int ACCESS_AVAILABLE = 1;
    public static final int ACCESS_CURRENT = 2;
    public static final int ACCESS_FORBIDEN = 3;
    /**
     *  0 Unknown
     *  1 Available
     *  2 Current
     *  3 Forbiden
     */
    protected int access; 
    protected String name;
    protected String code; 
    
    public KazaoOperator() {
    }
    
    public KazaoOperator(int access, String name, String code) {
        this.access = access;
        this.name = name == null ? "" : name;
        this.code = code;
    }
    
    public int getAccess() {
        return access;
    }
    
    public String getName() {
        return name;
    }
    
    public String getCode() {
        return code;
    }
    
    public void setAccess(int access) {
        this.access = access;
    }
    
    public void setName(String name) {
        this.name = name == null ? "" : name;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
}
